#ifndef __MENUBUTTON_H__
#define __MENUBUTTON_H__

#include "SDLGameObject.h"
#include "LoaderParams.h"
enum button_state {
            MOUSE_OUT = 0,
            MOUSE_OVER = 1,
            CLICKED = 2
        };

class MenuButton : public SDLGameObject {
    public:
        MenuButton();

        virtual void draw();
        virtual void update();
        virtual void clean();
        void load(const LoaderParams *pParams);

        void setCallback(void (*callback)()){
            m_callback = callback;
        }
        int getCallbackID() { return m_callbackID; }
    private:
        enum button_state m_currentFrame;
        void (*m_callback)();
        int m_callbackID;
        bool m_bReleased;

   
};

#endif
